package com.gydz.gydzbaseframeworkboot.SystemControl.service.impl;

import com.gydz.gydzbaseframeworkboot.SystemControl.dao.DepartmentInformationMapper;
import com.gydz.gydzbaseframeworkboot.SystemControl.domain.DepartmentInformation;
import com.gydz.gydzbaseframeworkboot.SystemControl.service.DepartmentInformationService;
import com.gydz.gydzbaseframeworkboot.Common.utils.model.ItemModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("DepartmentInformationService")
public class DepartmentInformationServiceImpl implements DepartmentInformationService {

    @Autowired
    DepartmentInformationMapper departmentInformationMapper;

    @Override
    public List<ItemModel> optionList(DepartmentInformation departmentInformation) {
        return departmentInformationMapper.optionList(departmentInformation);
    }
}
